﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartCity.Passport.Domain.Entites
{
    /// <summary>
    /// 用户表
    /// </summary>
    public class User
    {
        /// <summary>
        /// 编号
        /// </summary>
        [Key]
        public int UserId { get; set; }
        /// <summary>
        /// 用户姓名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Passwprd { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string UserNickname { get; set; }
        /// <summary>
        /// 电话号
        /// </summary>
        public string UserPhone { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string UserEmail { get; set; }
    }
}
